import greenfoot.*;  // (Actor, World, Greenfoot, GreenfootImage)

public class CrabWorld extends World
{
    /**
     * Create the crab world (the beach). Our world has a size 
     * of 560x560 cells, where every cell is just 1 pixel.
     */
    public CrabWorld() 
    {
        super(560, 560, 1);
        new Crab();
        new Lobster();
        addObject(new Crab(),200,200);
        addObject(new Lobster(),300,300);
        for(int i=70;i<=500;i+=70)
        {
            for(int j=70;j<=500;j+=70)
            {
                addObject(new Worm(),i,j);
            }
        }
    }
}